.content{
    padding: 10px 20px;
    box-sizing: border-box;
    column-count: 7;       //设置共有几列
    column-width: 200px;   //设置每列宽度
    column-gap: 14px;      //设置列与列之间的间距
    width: 100%;

    .big-box{
        height: 100%;
        width: 100%;
        padding: 5px 0;
        break-inside: avoid; //使每个元素独立，前后不断开
    }

    .special-box{
        position: relative;
        height: 100%;
        width: 100%;
        cursor: pointer;
    }

    //图片盒子
    .masonaryitem-imgbox{
        width: 100%;
        position: relative;
        overflow: hidden;

    .masonaryitem-textimg{
        width: 100%;
        border-radius: 10px;
    }
    }

    //图片数量显示标签
    .img-number{
        position: absolute;
        top: 15px;
        left: 10px;
        width: 32px;
        text-align: center;
        border-radius: 5px;
        line-height: 20px;
        font-size: 10px;
        color: #fff;
        background-color: #FF9A27;
    }

    //图片创作名和创作同款
    .img-hover-item{
        position: absolute;
        bottom: 10px;
        left: 10px;

        .create-name{
            margin-bottom: 6px;
            color: #fff;
        }

        .create-image{
            width: 62px;
            line-height: 21px;
            text-align: center;
            border-radius: 5px;
            color: #fff;
            background-color: #3348fe;
        }

        .create-image:hover{
            background-color:  #25ABE5;
        }
    }

    //鼠标悬停效果
    .masonaryitem-imgbox::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        height: 40%;
        width: 100%;
        opacity: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);  //添加底部往上渐变阴影
        transition: opacity 0.3s ease-in-out;
        border-bottom-right-radius: 10px;
        border-bottom-left-radius: 10px;
      }
      
    .masonaryitem-imgbox:hover::after {
        opacity: 1;
      }

    .img-hover-item {
        position: absolute;
        bottom: 10px;
        left: 10px;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
      }

    .special-box:hover .img-hover-item {
        opacity: 1;
        transition-delay: 100ms;        //内容延时显现
      }

    //图片下方用户信息布局
    .masonaryitem-contentbox{
        padding: 0 8px;
        box-sizing: border-box;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        height: 40px;
    }

    .masonaryitem-user{
        display: flex;
    }

    //用户头像
    .masonaryitem-userimg{
        margin-right: 5px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
    }

    //收藏样式
    .collect-content{
        display: flex;
        cursor: pointer;
    }

    .masonaryitem-countcollect{
        padding-left: 2px;
        display: flex;
        align-content: center;
        flex-wrap: wrap;
    }
    
//弹窗背景阴影
.modal {
    display: flex;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
    z-index: 10000;
}

//弹窗内容
.modal-content {
    margin: 10% auto; 
    display: flex;
    width: 900px;
    height: 550px;
    border-radius: 10px;

    //左侧弹出页面
    .photos{
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
        display: flex;
        min-width: 540px;
        justify-content: center;
        background-color: #F7F7F7 ;

    .masonaryitem-imgpreview{
        height: 100%;
        width: 100%;
        object-fit: contain;    //宽高最适比
    }

    }

    //右侧弹出页面
    .right-box{
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
        min-width: 360px;
        background-color: #fff;
        overflow: hidden;

    .photo-info{
        padding-top: 20px;
        padding-right: 20px;
        padding-left: 20px;
        height: 472px;
        overflow-y: scroll;

    .icon-box{
            float: right;
    }

    .popup-userbox{
        display: flex;
        flex-direction: row;
    }

    .image-info{
        padding-top: 15px;

        //创作名
        .popup-imagename{
            padding-bottom: 10px;
            font-size: 15px;
            font-weight: bold;
        }

        //简介
        .popup-imageintroduce{
            padding-bottom: 10px;
            font-size: 14px;
            color: grey;
        }

        //收藏和发布时间
        .popup-smallbox{
            display: flex;
            flex-direction: row;
            justify-content: space-between;

        .popup-collect{
            display: flex;
            justify-content: center;
            width: 42px;
            line-height: 22px;
            border-radius: 5px;
            background-color: #E8E6E6;
        }

        .popup-publishtime{
            display: flex;
            align-items: center;
            font-size: 14px;
            color: grey;
        }
        }

    .modal-explain-box{
        margin-top: 15px;
        border-top: 1px solid #E4E4E4;

    //描述按钮
    .miaoshu{
        padding-top: 10px;
        padding-bottom: 10px;
        display: flex;
        line-height: 26px;
        justify-content: space-between;

    .font-size-one{
        font-size: 15px;
        font-weight: bold;
        color: #000;
    }

    .copy-box{
        display: flex;
        color: #039BE5;
        cursor: pointer;
        
    .font-size-two{
        padding-left: 3px;
    }
    }

    .copy-box:hover,
    .copy-box:focus{
        display: flex;
        color: #53CBFF;
        cursor: pointer;
    }
    }

    .create-explain{
        font-size: 14px;
        color: grey;
    }

    }

    //模型选择
    .modal-select-box{
        padding-top: 12px;

        .modal-size{
            padding-bottom: 12px;
            font-size: 15px;
            font-weight: bold;
            color: #000;
        }

        .modal-select{
            padding: 4px;
            display: flex;
            justify-content: space-between;
            border: 1px solid #666666;
            border-radius: 5px;
            cursor: pointer;

            .modal-select-mod{
                display: flex;

            .modal-img-select-box{
                width: 55px;
                height: 55px;
                overflow: hidden;

            .modal-img-select{
                width: 100%;
                height: 100%;
                transition: 300ms;
            }
            }

            .modal-select-info{
                margin: 3px 0;
                padding-left: 5px;
                display: flex;
                flex-direction: column;
                justify-content: space-around;

                .modal-select-name{
                    font-size: 15px;
                    color: #000;
                }

                .modal-select-explain{
                    font-size: 14px;
                    color: grey;
                }
            }
        }

        .modal-select-jiantou{
            padding-right: 5px;
            display: flex;
            align-items: center;
        }
        }

        //鼠标悬停效果 父级hover触发时子级hover同时触发
        .modal-select:hover .modal-img-select{
            transform: scale(1.1);
            transition: 300ms;        //内容延时显现
            cursor: pointer;
        }

        .modal-select:hover{
            background-color: #F7F7F7;
        }
    }

    }

    //关闭按钮
    .icon-shanchu2:hover,
    .icon-shanchu2:focus {
        color: grey;
        background-color: #ECECEC;
        cursor: pointer;
    }

    }

    //跳转图生图的创作同款图标
    .tushengtu{
        margin: 20px;
        border: 1px solid #666666;
        border-radius: 5px;
        line-height: 36px;
        font-size: 17px;
        text-align: center;
        color: #5E5E5E;
        cursor: pointer;
    }

    .tushengtu:hover,
    .tushengtu:focus{
        margin: 20px;
        border: 1px solid  #2c74d7;
        border-radius: 5px;
        line-height: 36px;
        font-size: 17px;
        text-align: center;
        color: #3348fe;
        cursor: pointer;
    }

    }

    //弹框内右侧信息滑动条样式
    ::-webkit-scrollbar {
        display:none;
    }
}

}